package so.ifl.vo;
/**
 *create by aaron.lu
 *create at 2013-9-14 下午4:04:03
 *<mailto: atyuan.lu@gmail.com>
 **/
public class OnlineExamVo implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Integer onlineExamId;
	private String onlineExamTitle;
	private String onlineExamType;
	private String onlineExamTips;
	private String aAnswer;
	private String bAnswer;
	private String cAnswer;
	private String dAnswer;
	private String onlineExamRightAnswer;
	private String onlineExamSubject;
	private String onlineExamGroup;
	private String onlineExamImg;
	
	
	public OnlineExamVo() {
		super();
	}

	public String getOnlineExamGroup() {
		return onlineExamGroup;
	}

	public void setOnlineExamGroup(String onlineExamGroup) {
		this.onlineExamGroup = onlineExamGroup;
	}
	
	public OnlineExamVo(String onlineExamTitle, String onlineExamType,
			String onlineExamTips, String aAnswer, String bAnswer,
			String cAnswer, String dAnswer, String onlineExamRightAnswer,
			String onlineExamSubject, String onlineExamGroup,
			String onlineExamImg) {
		super();
		this.onlineExamTitle = onlineExamTitle;
		this.onlineExamType = onlineExamType;
		this.onlineExamTips = onlineExamTips;
		this.aAnswer = aAnswer;
		this.bAnswer = bAnswer;
		this.cAnswer = cAnswer;
		this.dAnswer = dAnswer;
		this.onlineExamRightAnswer = onlineExamRightAnswer;
		this.onlineExamSubject = onlineExamSubject;
		this.onlineExamGroup = onlineExamGroup;
		this.onlineExamImg = onlineExamImg;
	}

	public String getOnlineExamImg() {
		return onlineExamImg;
	}

	public void setOnlineExamImg(String onlineExamImg) {
		this.onlineExamImg = onlineExamImg;
	}

	public Integer getOnlineExamId() {
		return onlineExamId;
	}
	public void setOnlineExamId(Integer onlineExamId) {
		this.onlineExamId = onlineExamId;
	}
	public String getOnlineExamTitle() {
		return onlineExamTitle;
	}
	public void setOnlineExamTitle(String onlineExamTitle) {
		this.onlineExamTitle = onlineExamTitle;
	}
	public String getOnlineExamType() {
		return onlineExamType;
	}
	public void setOnlineExamType(String onlineExamType) {
		this.onlineExamType = onlineExamType;
	}
	public String getOnlineExamTips() {
		return onlineExamTips;
	}
	public void setOnlineExamTips(String onlineExamTips) {
		this.onlineExamTips = onlineExamTips;
	}
	public String getaAnswer() {
		return aAnswer;
	}
	public void setaAnswer(String aAnswer) {
		this.aAnswer = aAnswer;
	}
	public String getbAnswer() {
		return bAnswer;
	}
	public void setbAnswer(String bAnswer) {
		this.bAnswer = bAnswer;
	}
	public String getcAnswer() {
		return cAnswer;
	}
	public void setcAnswer(String cAnswer) {
		this.cAnswer = cAnswer;
	}
	public String getdAnswer() {
		return dAnswer;
	}
	public void setdAnswer(String dAnswer) {
		this.dAnswer = dAnswer;
	}
	public String getOnlineExamRightAnswer() {
		return onlineExamRightAnswer;
	}
	public void setOnlineExamRightAnswer(String onlineExamRightAnswer) {
		this.onlineExamRightAnswer = onlineExamRightAnswer;
	}
	public String getOnlineExamSubject() {
		return onlineExamSubject;
	}
	public void setOnlineExamSubject(String onlineExamSubject) {
		this.onlineExamSubject = onlineExamSubject;
	}

	@Override
	public String toString() {
		StringBuffer s = new StringBuffer();
		s.append("[");
			s.append("\'" + this.onlineExamTitle + "\',");
			s.append("[");
				s.append("[\'" + this.aAnswer + "\']");
				s.append(",[\'" + this.bAnswer + "\']");
				if(null != this.cAnswer){s.append(",[\'" + this.cAnswer + "\']");}
				if(null != this.dAnswer){s.append(",[\'" + this.dAnswer + "\']");}
			s.append("],");
			s.append("\'" + this.onlineExamType + "\',");
			s.append("\'" + this.onlineExamRightAnswer + "\',");
			s.append("\'" + this.onlineExamSubject + "\',");
			s.append("\'" + this.onlineExamImg + "\'");
		s.append("]");
		return s.toString();
	}
	

}
